package com.ftx.domain.alias;

import java.util.Date;

/**
 * Created by fengtingxin on 2019/6/10.
 */
public class BaseDomain {

    private static final long serialVersionUID = 5441655082340027073L;

    protected Long id;

    protected Date created;

    protected Date modified;

    /**
     * 状态 1 为有效 0 为无效
     */
    protected Byte status;

    /**
     * 修改人
     */
    protected String modifiedAccount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getModifiedAccount() {
        return modifiedAccount;
    }

    public void setModifiedAccount(String modifiedAccount) {
        this.modifiedAccount = modifiedAccount;
    }

    @Override
    public String toString() {
        return "BaseDomain{" +
                "id=" + id +
                ", created=" + created +
                ", modified=" + modified +
                ", status=" + status +
                ", modifiedAccount='" + modifiedAccount + '\'' +
                '}';
    }
}
